;SET UP RENDER DIALOG CONTROL MAPPING

; detectedReaperVersion  >= 3 or !detectedReaperVersion or detectedReaperVersion  = "" or detectedReaperVersion =


If ( detectedReaperVersion >= 3 )
{

	If ( detectedReaperVersion >= 3.03 )
	{
		rcButtonQueue = Button16
		rcButtonRender = Button17
		rcButtonCancel = Button18
		rcEditFilename = Edit6
		rcButtonBrowse = Button7
		rcButtonRenderEntireProject = Button3
		rcButtonRenderTimeSelection = Button4
		rcButtonRenderCustom = Button5
		rcEditStart = Edit3
		rcEditEnd = Edit4
		rcEditLength = Edit5
		rcComboBoxOutputFormat = ComboBox5	
	}
	Else
	{
		;3
		rcButtonRender = Button15
		rcButtonCancel = Button16
		rcEditFilename = Edit6
		rcButtonBrowse = Button6
		rcButtonRenderEntireProject = Button2
		rcButtonRenderTimeSelection = Button3
		rcButtonRenderCustom = Button4
		rcEditStart = Edit3
		rcEditEnd = Edit4
		rcEditLength = Edit5
		rcComboBoxOutputFormat = ComboBox5
	}
}
Else
{
	;2.55
	rcButtonRender = Button16
	rcButtonCancel = Button17
	rcEditFilename = Edit5
	rcButtonBrowse = Button8
	rcButtonRenderEntireProject = Button4
	rcButtonRenderTimeSelection = Button5
	rcButtonRenderCustom = Button6
	rcEditStart = Edit2
	rcEditEnd = Edit3
	rcEditLength = Edit4
	rcComboBoxOutputFormat = ComboBox3
}